<script setup lang="ts">

import Card from "@/components/Card.vue";
// import {inject} from "vue";
//插件中的 Provide / Inject
// const i18n = inject('i18n');
// console.log(i18n.greeting.hello)

</script>

<template>
  <card title="自定义插件">
    <div v-border>
      <h4>{{ $translate('greeting.hello') }}</h4>
      <!--<h4>{{i18n.greeting.hello}}</h4>-->
    </div>
  </card>
</template>

<style scoped>

</style>